package com.micromap.dataprocessing.repository

import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.JpaSpecificationExecutor
import org.springframework.data.repository.NoRepositoryBean
import org.springframework.data.repository.query.QueryByExampleExecutor
import org.springframework.transaction.annotation.Transactional

/**
 * @author LiMeng 2017/11/18
 */
@Transactional
@NoRepositoryBean
interface BaseRepository<T> : JpaRepository<T, Long>, QueryByExampleExecutor<T>, JpaSpecificationExecutor<T>